package cn.uexpo.lhz.dao;

import cn.uexpo.lhz.domain.Cameranotiy;
import cn.uexpo.lhz.domain.CameranotiyExample;
import cn.uexpo.lhz.domain.Many3Vo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CameranotiyMapper {
    long countByExample(CameranotiyExample example);

    int deleteByExample(CameranotiyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Cameranotiy record);

    int insertSelective(Cameranotiy record);

    List<Cameranotiy> selectByExampleWithBLOBs(CameranotiyExample example);

    List<Cameranotiy> selectByExample(CameranotiyExample example);

    Cameranotiy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Cameranotiy record, @Param("example") CameranotiyExample example);

    int updateByExampleWithBLOBs(@Param("record") Cameranotiy record, @Param("example") CameranotiyExample example);

    int updateByExample(@Param("record") Cameranotiy record, @Param("example") CameranotiyExample example);

    int updateByPrimaryKeySelective(Cameranotiy record);

    int updateByPrimaryKeyWithBLOBs(Cameranotiy record);

    int updateByPrimaryKey(Cameranotiy record);
    
    int maxIdByName(String eqpname);
    
    List<Many3Vo> selectByAll(CameranotiyExample example);
    
    List<Integer> selectMaxByAll(CameranotiyExample example);

    Cameranotiy selectByNumber(Integer id);
}